# _*_ coding: utf-8 _*_
__author__ = 'yinlei'
__date__ = '2018-05-19 15:20'

import time


def time_format(value, format='%Y-%m-%d %H:%M:%S'):
    return time.strftime(format, time.localtime(value))
